package com.atguigu.serviceedu.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: GengKY
 * @Date: 2021/9/25 18:42
 */
@Component
@FeignClient("service-order")
public interface OrdersClient {


    @GetMapping("/eduorder/order/isBuyCourse/{courseId}/{memberId}")
    public boolean isByCourse(@PathVariable("courseId") String courseId, @PathVariable("memberId") String memberId);

}
